import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'zhiling2';

  Show = true;
  Show1 = true;
  Show2 = true;
  Show3 = true;
  Show4 = true;

  caidan=[{n1:'导航菜单'},{n2:'背景'},{n3:'咨询'},{n4:'页面内容'}];

  isBordered= false;

  onToggle(){
    this.Show = !this.Show;
    return false;
  }

  onToggle1(){
    this.Show1 = !this.Show1;
    return false;
  }

  onToggle2(){
    this.Show2 = !this.Show2;
    return false;
  }

  onToggle3(){
    this.Show3 = !this.Show3;
    return false;
  }

  onToggle4(){
    this.Show4 = !this.Show4;
    return false;
  }

  toggleBorder(){
    this.isBordered = !this.isBordered;
  }
}
